performReceiveContent

Receives the given content.

If a listener is set, invokes the listener. If the listener returns a non-null result, executes the fallback handling for the portion of the content returned by the listener.

If no listener is set, executes the fallback handling.

The fallback handling is defined by the target view if the view implements OnReceiveContentViewBehavior, or is simply a no-op.

Return

The portion of the passed-in content that was not handled (may be all, some, or none of the passed-in content).

Parameters

view

The target view.

payload

The content to insert and related metadata.